package mapper;


import java.sql.Date;
import java.util.List;


import Entity.Room_ced;



public interface Schedulemapper {
	//查询排课表
	public List<Room_ced> Room_ced_QueryByDate(Date date);
	//创建课程
	public boolean CreatSchedule(Room_ced room_ced);
	//删除课程
	public void deleteSchedule(String cid);
	//根据id和日期查询是否存在排课
	public List<Room_ced> getAllSchedule(String course_Id,Date date);
	
	public Room_ced getSchedule(String cid);
	//根据机房号，时间和第几大节查这个有没有课
	public boolean querySchedule(String rid,Date date, int order);
	//根据机房号，时间和第几大节查这个有没有课
	public String querySchedule1(String rid,Date date, int order);
	
	//学生查课程
	public List<Room_ced> queryScheduleBycid(String id);
	
}
